Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): widen peerDependencies for react and @hookform/devtools #101

Merged
merged 1 commit into from
May 15, 2024

Conversation

jpoissonnet
Copy link
Contributor

@jpoissonnet jpoissonnet commented May 13, 2024

🤔 Why?

When using theses packages with our app. The peerDependencies resolutions makes our package manager warn us about unmet peerDependencies.

We want to be able to use react-i18n with React 18.

We want to be able to use eslint-plugin-i18n.

💻 How?

We widen the peerDependencies specifier:

  • We want to allow React 18 to work with react-i18n with '|| ^18.0.0'
  • We want to allow any hookform/devtools version between 4.0.2 and 5.0.0 not included

Motivation and Context

The peerDependencies resolutions makes our package manager warn us about unmet peerDependencies.

How Has This Been Tested?

It hasn't been tested 🤷

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Dependencies

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.68%. Comparing base (3f19afc) to head (cd8396a).
Report is 1 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   74.68%   74.68%           
=======================================
  Files          28       28           
  Lines         391      391           
  Branches      125      125           
=======================================
  Hits          292      292           
  Misses         64       64           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jpoissonnet jpoissonnet requested review from jsulpis and TGianella May 15, 2024 08:16
Copy link
Collaborator

@TGianella TGianella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpoissonnet jpoissonnet merged commit e7ff7de into master May 15, 2024
2 checks passed
@jpoissonnet jpoissonnet deleted the widen-peerDeps-react18 branch May 15, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants